package com.shiguiwu.springmybatis.spring.aop.cglib;

import org.springframework.cglib.core.NamingPolicy;
import org.springframework.cglib.core.Predicate;

/**
 * @description: 修改cglib默认代理名称
 * @author: stone
 * @date: Created by 2021/5/18 22:59
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.aop.cglib
 */
public class NamingPolicyImpl implements NamingPolicy {
    @Override
    public String getClassName(String s, String s1, Object o, Predicate predicate) {
        return "shiguiwu";
    }
}
